package adv6;

import java.io.Serializable;

/**
 * @author oldliu
 * @since 1.0
 */
public class Vip implements Serializable {
    private int no;
    private String name;
    private String pass;
    private int score=0;
    private String phone;

    public Vip() {
    }

    public Vip(int no, String name, String pass, String phone) {
        this.no = no;
        this.name = name;
        this.pass = pass;
        this.phone = phone;
    }

    public int getNo() {
        return no;
    }

    public void setNo(int no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "Vip{" +
                "no=" + no +
                ", name='" + name + '\'' +
                ", pass='" + pass + '\'' +
                ", score=" + score +
                ", phone='" + phone + '\'' +
                '}';
    }
}
